import http from "@/http/index"

export default {

  select: {
    name: "图库查询",
    url: "/yunji-api/venue/select",
    call: async function (params: any = {}) {
      return await http.get(this.url, params);
    }
  },
  add: {
    name: "云迹添加",
    url: "/yunji-api/venue/insert",
    call: async function (params: any = {}) {
      return await http.post(this.url, params);
    }
  },
  update: {
    name: "云迹添加",
    url: "/yunji-api/venue/update",
    call: async function (params: any = {}) {
      return await http.put(this.url, params);
    }
  },
  delete: {
    name: "云迹删除",
    url: "/yunji-api/venue/delete",
    call: async function (params: any = {}) {
      return await http.delete(this.url, params);
    }
  }

}
